package com.guigu.common.mapper;


import com.guigu.common.pojo.SysMenus;
import com.guigu.lc.serach.MenusSerach;
import com.guigu.lc.view.Menuanduserview;

import java.awt.*;
import java.util.List;

public interface SysMenusMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysMenus record);

    int insertSelective(SysMenus record);

    SysMenus selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysMenus record);

    int updateByPrimaryKey(SysMenus record);

    List<SysMenus> querymapmenus(String userid);

    List<SysMenus> querymenuByuserid(MenusSerach serach);

    List<SysMenus> querygrentByroleid(int id);

    List<SysMenus> queryallemnussys(MenusSerach serach);

}